// api.ts
import axios from './axios';
const API = {
  login(data) {
    return axios.post(
      `/api/login?username=${data.username}&password=${data.password}&validateCode=${data.validateCode}&rememberMe=${data.rememberMe}`,
      data
    );
  },
  test() {
    return axios.get('/api/screen/listBusiness');
  }
};

export default API;
